﻿using BUS.AuthorizationBUS;
using DTO.Authorization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BUS.BUSService
{
    public class AuthorizationBUSService
    {
        private static UserTypeBUS userTypeBUS = new UserTypeBUS();

        public static UserTypeDTO GetObjectUserTypeDTO(String userTypeName, String userTypeDes)
        {
            return userTypeBUS.GetObjectUserType(userTypeName, userTypeDes);
        }

        public static bool InsertUseRTypeDTO(UserTypeDTO userTypeDTO)
        {
            return userTypeBUS.InsertUserType(userTypeDTO);
        }
    }
}
